<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML原型画板 - 登录</title>
    <link rel="stylesheet" href="assets/css/login.css">
</head>
<body>
<div class="login-box">
    <h1>HTML原型画板</h1>
    <?php if (isset($error)) echo "<div class='error'>$error</div>"; ?>
    <form method="post">
        <input type="hidden" name="action" value="login">
        <div class="form-group">
            <label for="password">管理员密码</label>
            <input type="password" id="password" name="password" required placeholder="请输入登录密码">
        </div>
        <button type="submit">登录</button>
    </form>
</div>
</body>
</html>